home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
boymks5e.zip
/
FILE.BSC
< prev
next >
Wrap
Text File
|
1991-05-11
|
664b
|
19 lines
|getfile
\gv1[] \\closes last \gv1[] file
\gb[gettext]
|getText
\gv1[%B:dsz.log] \\ reads first line into %v1
\IV1+^Z[\gb[filename]] \\ end block with end of file marker.
\sv3[%v1]\LV1[80] \\ save previous line into %V3
\GB[getText]
|filename
\dv3[50] \\ delete first 50 characters from %V3
\lv3[12] \\ trim file name down to 12 characters.
\II+ ,%V3[\dm2,2[%V2] \\ looking for blank space to end variable
\\ length.
\LV3[%IM] \\ trim off blank space portion into %V3
\dm22,22[File name is %v3] \\ display to check